package com.example.xiazai;

import com.example.xiazai.bean.ProjectBean;

import io.reactivex.Flowable;
import io.reactivex.Observable;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

public interface ApiSrevice {
    String PROJECTURL = "https://www.wanandroid.com/";
    @GET("project/list/{path}/json")
    Observable<ProjectBean> getData(@Path("path") int path, @Query("cid") int cid);
}
